package com.ycx.ycxmybatismanagement.mapper;

import com.ycx.ycxmybatismanagement.pojo.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpExprMapper {
    void addEmpExpr(@Param("list") List<EmpExpr> empExprList);

    void deleteEmpExprByIds(List<Integer> empId);
    @Select("select * from emp_expr where emp_id =#{empId}")
    List<EmpExpr> selectExprByEmpId(Integer empId);
}
